package me.sdevil507.biz.fruit.po;

import lombok.Data;
import lombok.EqualsAndHashCode;
import me.sdevil507.supports.jpa.BaseJpaSnowflakeIdAndAuditEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 成果 与 专家  机构之间的关系 及 成果状态--是否机构确认有效
 */
@Entity
@Table(name = "biz_fruit_org_rel")
@Data
@EqualsAndHashCode(callSuper = true)
public class FruitOrgRelPo extends BaseJpaSnowflakeIdAndAuditEntity {

    @Column
    private Long fruitId;

    @Column
    private Long initFruitId;
    /**
     * 机构id
     */
    @Column
    private Long orgId;

    /**
     * 专家id
     */
    @Column
    private Long authUserId;

    /**
     * 机构确认此成果的状态
     */
    @Column
    private String status;
}
